var template = require("../src/JTemplate.node.js");

var tempFile  = __dirname+"/index";

template.config("template_encoding", "utf-8");
template.config("template_ext", ".html");
var html = template.render(tempFile, {
	title : "测试模板引擎",
	hello : "Hello, world.",
	params : {
		name : "xiaoyang",
		age : 23
	}
});

console.log(html);
